import request from "@/utils/request.ts";

/**
 * 登录请求
 */
export const loginBlogUrl = (data: any) => {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}

/**
 * 获取用户信息
 */
export const getBlogUserInfoUrl = () => {
  return request({
    url: '/getBlogInfo',
    method: 'get'
  })
}
